package com.zxk.entity;

import com.zxk.service.impl.ScratchTicketTaskImpl;
import lombok.ToString;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 任务配置参数
 *
 * @author: 舟小亢
 * @date: 2023-09-01 23:16
 */
public class TaskConfig {

    private static Logger LOG = LoggerFactory.getLogger(TaskConfig.class);

    /**
     * 是否登录
     */
    public static boolean loginTask = false;

    /**
     * 单人任务
     */
    public static boolean singleTask = false;

    /**
     * 多人任务
     */
    public static boolean teamTask = false;

    /**
     * 抓鬼任务
     */
    public static boolean ghostTask = false;

    /**
     * 自定义任务
     */
    public static String myTask = "";

    /**
     * 单人任务
     */
    public static boolean useVigor = false;


    public static void printTaskInfo() {
        LOG.info("TaskConfig{" +
                "loginTask=" + loginTask +
                ", singleTask=" + singleTask +
                ", teamTask=" + teamTask +
                ", ghostTask=" + ghostTask +
                ", myTask='" + myTask + '\'' +
                ", useVigor=" + useVigor +
                '}');
    }
}
